package com.ym.medical.service;

import com.ym.core.utils.tkmybatis.IBaseSV;
import com.ym.medical.domain.entity.DoctorStudioPricingEntity;

import java.util.List;

/**
 * 工作室分成Service接口
 *
 * @author ym
 * @date 2020-08-24
 */
public interface IDoctorStudioPricingSV extends IBaseSV<DoctorStudioPricingEntity> {

	/**
	 * 工作室分成信息查询
	 *
	 * @param doctId
	 * @param all    是否查询所有分成信息,包括未开通的服务项
	 * @return
	 */
	List<DoctorStudioPricingEntity> queryDoctorStudioPricing(Long doctId, boolean all);

	/**
	 * 工作室分成修改
	 *
	 * @param doctorStudioPricing
	 * @return
	 */
	Long saveDoctorStudioPricing(DoctorStudioPricingEntity doctorStudioPricing, Long loginId);
}
